package com.mi;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 作者：米
 * 时间：
 * 描述
 */
public class ma {
    public static void main(String[] args) {
        ApplicationContext applicationContext=new ClassPathXmlApplicationContext("applicationContext.xml");
        hello hello=(hello) applicationContext.getBean("hello");
        System.out.println(hello.getWorld());
    }
}
